package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构类型管理对象 co_test_mechatype
 * 
 * @author 冬木逢春
 * @date 2022-06-19
 */
public class CoTestMechatype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机构ID */
    private Long mechaId;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String mechaName;

    /** 访问数 */
    @Excel(name = "访问数")
    private Long visitNum;

    public void setMechaId(Long mechaId) 
    {
        this.mechaId = mechaId;
    }

    public Long getMechaId() 
    {
        return mechaId;
    }
    public void setMechaName(String mechaName) 
    {
        this.mechaName = mechaName;
    }

    public String getMechaName() 
    {
        return mechaName;
    }
    public void setVisitNum(Long visitNum) 
    {
        this.visitNum = visitNum;
    }

    public Long getVisitNum() 
    {
        return visitNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mechaId", getMechaId())
            .append("mechaName", getMechaName())
            .append("visitNum", getVisitNum())
            .toString();
    }
}
